package main

import "github.com/kataras/iris/v12"

func main() {
	app := iris.Default()
	app.Get("/welcome", func(ctx iris.Context) {
		firstname := ctx.URLParamDefault("firstName", "Guest")
		lastName := ctx.URLParam("lastname")
		ctx.Writef("Hello %s %s", firstname, lastName)
	})
	app.Listen("localhost:8080")

}
